﻿namespace Wedn.Net.Common
{
    /// <summary>
    /// 系统常量定义
    /// </summary>
    public struct WednStruct
    {
        #region 缓存键

        /// <summary>
        /// 评论表缓存键
        /// </summary>
        public static string CommentCacheKey = "CommentList";

        /// <summary>
        /// 链接表缓存键
        /// </summary>
        public static string LinkCacheKey = "LinkList";

        /// <summary>
        /// 选项表缓存键
        /// </summary>
        public static string OptionCacheKey = "OptionList";

        /// <summary>
        /// 文章表缓存键
        /// </summary>
        public static string PostCacheKey = "PostList";

        /// <summary>
        /// 文章元数据表缓存键
        /// </summary>
        public static string PostMetaCacheKey = "PostMetaList";

        /// <summary>
        /// 关系表缓存键
        /// </summary>
        public static string RelationCacheKey = "RelationList";

        /// <summary>
        /// 标签表缓存键
        /// </summary>
        public static string TermCacheKey = "TermList";

        /// <summary>
        /// 用户表缓存键
        /// </summary>
        public static string UserCacheKey = "UserList";

        /// <summary>
        /// 用户元数据表缓存键
        /// </summary>
        public static string UserMetaCacheKey = "UserMetaList";

        #endregion
        /// <summary>
        /// 元数据标签格式字符串({0}:name{1}:content)
        /// </summary>
        public static string MetaFormat = "<meta name=\"{0}\" content=\"{1}\">";
    }
}